<template>
	<view>
		<view class="wrap">
			<view class="discuss-wrap" v-if="discuss.length">
				<v-discuss class="item" v-for="comment,i in discuss" :key="i" :item="comment"></v-discuss>
			</view>
			<view class="discuss-wrap" v-else>
				暂无评价~
			</view>
		</view>
	</view>
</template>

<script>
	import discuss from './discuss'
	
	export default {
		data() {
			return {
				
			}
		},
		components: {
			vDiscuss: discuss
		},
		props: {
			discuss: Array
		},
		methods: {
			
		}
	}
</script>

<style scoped>
	.wrap{padding: 32upx; background: #FAFAFA;}
	
	.discuss-wrap{border-radius:20upx; background:#fff; overflow: hidden;}
	.discuss-wrap .item{border-bottom: 2upx solid #E5E5E5;}
	.discuss-wrap .item:last-child{border-bottom: 0 solid #E5E5E5;}
</style>
